package com.example.wanandroid.service;

import com.example.wanandroid.pojo.LoginToken;

/**
 * @Desc TODO
 * @Date 2020/4/16 21:51
 */
public interface TokenService {
    int deleteByPrimaryKey(Long id);

    int insert(LoginToken record);

    LoginToken selectByPrimaryKey(Long id);

    int updateByPrimaryKey(LoginToken record);

    LoginToken selectByToken(String token);

    int deleteByToken(String token);
}
